﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using XFense;

namespace UI
{
	public partial class PathEditor : UserControl
	{
		public PathEditor()
		{
			InitializeComponent();
		}

		private void picPath_MouseClick(object sender, MouseEventArgs e)
		{
			AddPathPoint(e.X, e.Y);

		}

		private void AddPathPoint(int X, int Y)
		{
			Path.Points.Add(new PathPoint() { Location = new Location() { X = X, Y = Y } });
		}

		public Path Path
		{
			get
			{
				throw new NotImplementedException();
			}
		}
	}
}
